Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solves the subunits per unit using real data from Unicode CLDR #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pablomartinezalvarez
Copy link

Replaces the default 100 value of the subunitsPerUnit by real values extracted from https://unicode.org/cldr/charts/latest/supplemental/detailed_territory_currency_information.html#format_info

@grassator
Copy link
Contributor

@pablomartinezalvarez Thank you for the PR, in general it looks good, but the this project is setup such that it should support regenerating all the data files out of the CLDR npm package.

Could you please add code into update folder that can extract this info automatically?

@pablomartinezalvarez
Copy link
Author

Upsss.. missed it. I am going to provide the proper script to regenerate the subunitsPerUnit using the currencyData.json file provided by cldr-data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants